package cn.iocoder.yudao.module.crossborder.platform.controller.admin.platformstore.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;

@Schema(description = "管理后台 - 跨境电商店铺管理 Response VO")
@Data
@ExcelIgnoreUnannotated
public class PlatformStoreRespVO {

    @Schema(description = "店铺编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22292")
    @ExcelProperty("店铺编号")
    private Long id;

    @Schema(description = "平台编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "8390")
    @ExcelProperty("平台编号")
    private Long platformId;

    @Schema(description = "店铺代码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("店铺代码")
    private String code;

    @Schema(description = "店铺名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @ExcelProperty("店铺名称")
    private String name;

    @Schema(description = "英文名称")
    @ExcelProperty("英文名称")
    private String nameEn;

    @Schema(description = "店铺类型（1个人店铺 2企业店铺 3品牌店铺）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("店铺类型（1个人店铺 2企业店铺 3品牌店铺）")
    private Integer type;

    @Schema(description = "平台店铺ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "17451")
    @ExcelProperty("平台店铺ID")
    private String platformStoreId;

    @Schema(description = "卖家ID", example = "23780")
    @ExcelProperty("卖家ID")
    private String sellerId;

    @Schema(description = "市场ID", example = "25818")
    @ExcelProperty("市场ID")
    private String marketplaceId;

    @Schema(description = "店铺链接", example = "https://www.iocoder.cn")
    @ExcelProperty("店铺链接")
    private String storeUrl;

    @Schema(description = "区域代码")
    @ExcelProperty("区域代码")
    private String region;

    @Schema(description = "主要货币")
    @ExcelProperty("主要货币")
    private String currency;

    @Schema(description = "主要语言")
    @ExcelProperty("主要语言")
    private String language;

    @Schema(description = "时区")
    @ExcelProperty("时区")
    private String timezone;

    @Schema(description = "联系人")
    @ExcelProperty("联系人")
    private String contactPerson;

    @Schema(description = "联系电话")
    @ExcelProperty("联系电话")
    private String contactPhone;

    @Schema(description = "联系邮箱")
    @ExcelProperty("联系邮箱")
    private String contactEmail;

    @Schema(description = "营业执照号")
    @ExcelProperty("营业执照号")
    private String businessLicense;

    @Schema(description = "税号")
    @ExcelProperty("税号")
    private String taxNumber;

    @Schema(description = "授权状态（0未授权 1已授权 2授权过期 3授权失败）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("授权状态（0未授权 1已授权 2授权过期 3授权失败）")
    private Integer authStatus;

    @Schema(description = "授权时间")
    @ExcelProperty("授权时间")
    private LocalDateTime authTime;

    @Schema(description = "授权过期时间")
    @ExcelProperty("授权过期时间")
    private LocalDateTime authExpireTime;

    @Schema(description = "最后同步时间")
    @ExcelProperty("最后同步时间")
    private LocalDateTime lastSyncTime;

    @Schema(description = "同步状态（0未同步 1同步中 2同步成功 3同步失败）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("同步状态（0未同步 1同步中 2同步成功 3同步失败）")
    private Integer syncStatus;

    @Schema(description = "同步错误信息")
    @ExcelProperty("同步错误信息")
    private String syncErrorMsg;

    @Schema(description = "状态（0正常 1停用）", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @ExcelProperty("状态（0正常 1停用）")
    private Integer status;

    @Schema(description = "是否启用", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("是否启用")
    private Boolean enabled;

    @Schema(description = "排序", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("排序")
    private Integer sort;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}
